package com.wh.hotel.alone.impl;

import com.wh.common.annotation.MyAsync;
import com.wh.hotel.alone.CircleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author luweije
 */
@Slf4j
@Service
public class CircleServiceImpl implements CircleService {

    @Resource
    private CircleService circleService;

    @Override
    @MyAsync("hotelAsyncThreadPool")
    public void testCircle() {
        log.info("循环依赖测试 ");
    }
}
